package com.hx.learn.config.properties;

import com.hx.learn.config.UserConfigConstants;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 描述：
 *
 * @author Minghua Chen
 * @date 2020-10-04 22:11
 */
@ConfigurationProperties(UserConfigConstants.PREFIX)
public class UserConfigProperties {
    private String id;
    private String name;

    public UserConfigProperties() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
